package com.ningxun.rms.task;

import com.ningxun.rms.service.baserequire.IBusRequireService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component("RequireExpirationTask")
public class RequireExpirationTask {

    @Autowired
    private IBusRequireService busRequireService;
    
    public void checkAndExpireRequires() {
        busRequireService.expireRequires();
    }
}
